﻿namespace Vestras.StarCraft2.Luna.Parser.Ast {
    public sealed class CompareExpression : Expression {
        public Expression Left { get; internal set; }
        public Expression Right { get; internal set; }
        public ExpressionType Type { get; internal set; }

        public enum ExpressionType {
            LessThan,
            GreaterThan,
            LessThanOrEqual,
            GreaterThanOrEqual
        }

        public override string ToString() {
            return GetType().Name + " Left = [ " + Left + " ], Right = [ " + Right + " ], Type = [ " + Type + " ]";
        }
    }
}
